Skip to content

Conversation

jfouret
Copy link

@jfouret jfouret commented Oct 14, 2025

Overview

Added comprehensive documentation for the ImapRetriever integration, enabling users to search and retrieve emails from IMAP servers as LangChain Document objects.

Type of change

Type: New documentation page

Related issues/PRs

  • GitHub issue:
  • Feature PR:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

This documentation was created based on:

  • The langchain-imap package README
  • The retrievers notebook example from the package repository

The documentation includes:

  • Installation instructions (including optional docling extra for full document processing)
  • Configuration examples for both production IMAP servers (Gmail) and test environments (GreenMail)
  • Basic usage examples with various IMAP search query patterns
  • Attachment handling modes explanation
  • Complete chain integration example showing how to use the retriever with an LLM for question answering over emails
  • Links to the GitHub repository and additional resources

The code examples are directly adapted from the package documentation notebook.

Copy link

vercel bot commented Oct 14, 2025

@jfouret is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added langchain For docs changes to LangChain python For content related to the Python version of LangChain projects oss labels Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant